<?php
namespace app\common\model;

use think\Model;

class Admin extends Model {

    public function role(){
        return $this->belongsTo(Role::class,'role_id',"id");
    }
}